<template>
  <div id="basic-layout">
    <a-layout style="height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="https://gitee.com/xuduyinuo">xudu的代码仓库</a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>
<script lang="ts" setup>
import GlobalHeader from '@/components/GlobalHeader.vue'
</script>
<style scoped>
#basic-layout {
}

#basic-layout .header {
  margin-top: 16px;
  margin-bottom: 10px;
}

#basic-layout .content {
  background: url('https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png') 0% 0% /
    100% 100%;
  margin-bottom: 16px;
}

#basic-layout .footer {
  background: #efefef;
  padding: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>
